package com.guinea.account.entity;
// Generated 2011-3-17 19:31:55 by Hibernate Tools 3.4.0.Beta1


import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.guinea.core.orm.BaseEntity;
public class User implements BaseEntity {


     private Long id;
     private String status;
     private Long creator;
     private Date created;
     private Long modificator;
     private Date modified;
     private String originSystem;
     private Long originId;
     private String originCode;
     private String loginName;
     private String loginPassword;
     private String otherName;
     private Contact contact;
     private Set roles = new HashSet(0);

    public User() {
    }

	
    public User(String status, Long creator, Date created, String loginName, String loginPassword, String otherName) {
        this.status = status;
        this.creator = creator;
        this.created = created;
        this.loginName = loginName;
        this.loginPassword = loginPassword;
        this.otherName = otherName;
    }
    public User(String status, Long creator, Date created, Long modificator, Date modified, String originSystem, Long originId, String originCode, String loginName, String loginPassword, String otherName, Contact contact, Set roles) {
       this.status = status;
       this.creator = creator;
       this.created = created;
       this.modificator = modificator;
       this.modified = modified;
       this.originSystem = originSystem;
       this.originId = originId;
       this.originCode = originCode;
       this.loginName = loginName;
       this.loginPassword = loginPassword;
       this.otherName = otherName;
       this.contact = contact;
       this.roles = roles;
    }
   
    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    public Long getCreator() {
        return this.creator;
    }
    
    public void setCreator(Long creator) {
        this.creator = creator;
    }
    public Date getCreated() {
        return this.created;
    }
    
    public void setCreated(Date created) {
        this.created = created;
    }
    public Long getModificator() {
        return this.modificator;
    }
    
    public void setModificator(Long modificator) {
        this.modificator = modificator;
    }
    public Date getModified() {
        return this.modified;
    }
    
    public void setModified(Date modified) {
        this.modified = modified;
    }

    public String getOriginSystem() {
		return originSystem;
	}


	public void setOriginSystem(String originSystem) {
		this.originSystem = originSystem;
	}


	public Long getOriginId() {
        return this.originId;
    }
    
    public void setOriginId(Long originId) {
        this.originId = originId;
    }
    public String getOriginCode() {
        return this.originCode;
    }
    
    public void setOriginCode(String originCode) {
        this.originCode = originCode;
    }
    public String getLoginName() {
        return this.loginName;
    }
    
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
    public String getLoginPassword() {
        return this.loginPassword;
    }
    
    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }
    public String getOtherName() {
        return this.otherName;
    }
    
    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    public Contact getContact() {
		return contact;
	}


	public void setContact(Contact contact) {
		this.contact = contact;
	}


	public Set getRoles() {
        return this.roles;
    }
    
    public void setRoles(Set roles) {
        this.roles = roles;
    }




}


